package com.fyzk.bean;

import java.util.List;

/**
 * Created by miao on 16/9/1.
 */

public class JCOrderInfo {


    /**
     * preferentialAmount : 0
     * detail : {"playName":"2串1","raceBetcode":[{"awayTeam":"布莱克本","matchDate":"2017-12-14 03:45:00","homeScore":"","contents":[{"result":"",
     * "betcode":"负(-.-)","score":null,"lotteryTypeName":"竞彩足球胜平负"}],"status":2,"dan":0,"officialWeekDay":"周二","handicap":"+1",
     * "matchName":"英足总杯","homeTeam":"克鲁","matchNum":"017","awayScore":""},{"awayTeam":"阿维斯","matchDate":"2017-12-13 23:00:00","homeScore":"",
     * "contents":[{"result":"","betcode":"让球平(-.-)","score":null,"lotteryTypeName":"竞彩足球让球胜平负"},{"result":"","betcode":"负(-.-)","score":null,
     * "lotteryTypeName":"竞彩足球胜平负"}],"status":2,"dan":0,"officialWeekDay":"周三","handicap":"+1","matchName":"葡萄牙杯","homeTeam":"马德拉",
     * "matchNum":"001","awayScore":""}]}
     * orderStatusName : 出票中
     * isRecharge : 0
     * prizeOptimize : 1
     * orderResultStatusName : 未开奖
     * addition : 0
     * orderResultStatus : 5
     * orderStatus : 2
     * expectedPrize :
     * amount : 1000
     * betnum : 5
     * optimizeDetail : [{"racedetails":[{"awayTeam":"布莱克本","betcode":"负","homeTeam":"克鲁"},{"awayTeam":"阿维斯","betcode":"负","homeTeam":"马德拉"}],
     * "betNum":3},{"racedetails":[{"awayTeam":"布莱克本","betcode":"负","homeTeam":"克鲁"},{"awayTeam":"阿维斯","betcode":"让球平","homeTeam":"马德拉"}],
     * "betNum":2}]
     * bettype : 投注
     * prize : 0
     * receiveTime : 2017-12-13 15:19:03
     * lotteryType : 3011
     * lotteryTypeName : 竞彩足球混合过关
     * orderid : FT171213000015406120
     * multiple : 1
     * phase : 20171212
     */

    private int preferentialAmount;
    private DetailBean detail;
    private String orderStatusName;
    private String isRecharge;
    private int prizeOptimize;
    private String orderResultStatusName;
    private int addition;
    private int orderResultStatus;
    private int orderStatus;
    private String expectedPrize;
    private int amount;
    private int betnum;
    private String bettype;
    private int prize;
    private int addprize;
    private String receiveTime;
    private int lotteryType;
    private String lotteryTypeName;
    private String orderid;
    private int multiple;
    private String phase;
    private List<OptimizeDetailBean> optimizeDetail;

    public int getWay() {
        return way;
    }

    public void setWay(int way) {
        this.way = way;
    }

    private int way;

    public int getPreferentialAmount() {
        return preferentialAmount;
    }

    public void setPreferentialAmount(int preferentialAmount) {
        this.preferentialAmount = preferentialAmount;
    }

    public DetailBean getDetail() {
        return detail;
    }

    public void setDetail(DetailBean detail) {
        this.detail = detail;
    }

    public String getOrderStatusName() {
        return orderStatusName;
    }

    public void setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
    }

    public String getIsRecharge() {
        return isRecharge;
    }

    public void setIsRecharge(String isRecharge) {
        this.isRecharge = isRecharge;
    }

    public int getPrizeOptimize() {
        return prizeOptimize;
    }

    public void setPrizeOptimize(int prizeOptimize) {
        this.prizeOptimize = prizeOptimize;
    }

    public String getOrderResultStatusName() {
        return orderResultStatusName;
    }

    public void setOrderResultStatusName(String orderResultStatusName) {
        this.orderResultStatusName = orderResultStatusName;
    }

    public int getAddition() {
        return addition;
    }

    public void setAddition(int addition) {
        this.addition = addition;
    }

    public int getOrderResultStatus() {
        return orderResultStatus;
    }

    public void setOrderResultStatus(int orderResultStatus) {
        this.orderResultStatus = orderResultStatus;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getExpectedPrize() {
        return expectedPrize;
    }

    public void setExpectedPrize(String expectedPrize) {
        this.expectedPrize = expectedPrize;
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getBetnum() {
        return betnum;
    }

    public void setBetnum(int betnum) {
        this.betnum = betnum;
    }

    public String getBettype() {
        return bettype;
    }

    public void setBettype(String bettype) {
        this.bettype = bettype;
    }

    public int getPrize() {
        return prize;
    }

    public void setPrize(int prize) {
        this.prize = prize;
    }

    public int getAddprize() {
        return addprize;
    }

    public void setAddprize(int addprize) {
        this.addprize = addprize;
    }

    public String getReceiveTime() {
        return receiveTime;
    }

    public void setReceiveTime(String receiveTime) {
        this.receiveTime = receiveTime;
    }

    public int getLotteryType() {
        return lotteryType;
    }

    public void setLotteryType(int lotteryType) {
        this.lotteryType = lotteryType;
    }

    public String getLotteryTypeName() {
        return lotteryTypeName;
    }

    public void setLotteryTypeName(String lotteryTypeName) {
        this.lotteryTypeName = lotteryTypeName;
    }

    public String getOrderid() {
        return orderid;
    }

    public void setOrderid(String orderid) {
        this.orderid = orderid;
    }

    public int getMultiple() {
        return multiple;
    }

    public void setMultiple(int multiple) {
        this.multiple = multiple;
    }

    public String getPhase() {
        return phase;
    }

    public void setPhase(String phase) {
        this.phase = phase;
    }

    public List<OptimizeDetailBean> getOptimizeDetail() {
        return optimizeDetail;
    }

    public void setOptimizeDetail(List<OptimizeDetailBean> optimizeDetail) {
        this.optimizeDetail = optimizeDetail;
    }

    public static class DetailBean {
        /**
         * playName : 2串1
         * raceBetcode : [{"awayTeam":"布莱克本","matchDate":"2017-12-14 03:45:00","homeScore":"","contents":[{"result":"","betcode":"负(-.-)",
         * "score":null,"lotteryTypeName":"竞彩足球胜平负"}],"status":2,"dan":0,"officialWeekDay":"周二","handicap":"+1","matchName":"英足总杯",
         * "homeTeam":"克鲁","matchNum":"017","awayScore":""},{"awayTeam":"阿维斯","matchDate":"2017-12-13 23:00:00","homeScore":"",
         * "contents":[{"result":"","betcode":"让球平(-.-)","score":null,"lotteryTypeName":"竞彩足球让球胜平负"},{"result":"","betcode":"负(-.-)",
         * "score":null,"lotteryTypeName":"竞彩足球胜平负"}],"status":2,"dan":0,"officialWeekDay":"周三","handicap":"+1","matchName":"葡萄牙杯",
         * "homeTeam":"马德拉","matchNum":"001","awayScore":""}]
         */

        private String playName;
        private List<RaceBetcodeBean> raceBetcode;

        public String getPlayName() {
            return playName;
        }

        public void setPlayName(String playName) {
            this.playName = playName;
        }

        public List<RaceBetcodeBean> getRaceBetcode() {
            return raceBetcode;
        }

        public void setRaceBetcode(List<RaceBetcodeBean> raceBetcode) {
            this.raceBetcode = raceBetcode;
        }

        public static class RaceBetcodeBean {
            @Override
            public String toString() {
                return "RaceBetcodeBean{" +
                        "awayTeam='" + awayTeam + '\'' +
                        ", matchDate='" + matchDate + '\'' +
                        ", homeScore='" + homeScore + '\'' +
                        ", status=" + status +
                        ", dan=" + dan +
                        ", officialWeekDay='" + officialWeekDay + '\'' +
                        ", handicap='" + handicap + '\'' +
                        ", matchName='" + matchName + '\'' +
                        ", homeTeam='" + homeTeam + '\'' +
                        ", matchNum='" + matchNum + '\'' +
                        ", awayScore='" + awayScore + '\'' +
                        ", contents=" + contents +
                        '}';
            }

            /**
             * awayTeam : 布莱克本
             * matchDate : 2017-12-14 03:45:00
             * homeScore :
             * contents : [{"result":"","betcode":"负(-.-)","score":null,"lotteryTypeName":"竞彩足球胜平负"}]
             * status : 2
             * dan : 0
             * officialWeekDay : 周二
             * handicap : +1
             * matchName : 英足总杯
             * homeTeam : 克鲁
             * matchNum : 017
             * awayScore :
             */

            private String awayTeam;
            private String matchDate;
            private String homeScore;
            private int status;
            private int dan;
            private String officialWeekDay;
            private String handicap;
            private String matchName;
            private String homeTeam;
            private String matchNum;
            private String awayScore;
            private List<ContentsBean> contents;

            public String getAwayTeam() {
                return awayTeam;
            }

            public void setAwayTeam(String awayTeam) {
                this.awayTeam = awayTeam;
            }

            public String getMatchDate() {
                return matchDate;
            }

            public void setMatchDate(String matchDate) {
                this.matchDate = matchDate;
            }

            public String getHomeScore() {
                return homeScore;
            }

            public void setHomeScore(String homeScore) {
                this.homeScore = homeScore;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getDan() {
                return dan;
            }

            public void setDan(int dan) {
                this.dan = dan;
            }

            public String getOfficialWeekDay() {
                return officialWeekDay;
            }

            public void setOfficialWeekDay(String officialWeekDay) {
                this.officialWeekDay = officialWeekDay;
            }

            public String getHandicap() {
                return handicap;
            }

            public void setHandicap(String handicap) {
                this.handicap = handicap;
            }

            public String getMatchName() {
                return matchName;
            }

            public void setMatchName(String matchName) {
                this.matchName = matchName;
            }

            public String getHomeTeam() {
                return homeTeam;
            }

            public void setHomeTeam(String homeTeam) {
                this.homeTeam = homeTeam;
            }

            public String getMatchNum() {
                return matchNum;
            }

            public void setMatchNum(String matchNum) {
                this.matchNum = matchNum;
            }

            public String getAwayScore() {
                return awayScore;
            }

            public void setAwayScore(String awayScore) {
                this.awayScore = awayScore;
            }

            public List<ContentsBean> getContents() {
                return contents;
            }

            public void setContents(List<ContentsBean> contents) {
                this.contents = contents;
            }

            public static class ContentsBean {
                /**
                 * result :
                 * betcode : 负(-.-)
                 * score : null
                 * lotteryTypeName : 竞彩足球胜平负
                 */

                private String result;
                private String betcode;
                private Object score;
                private String lotteryTypeName;

                public String getResult() {
                    return result;
                }

                public void setResult(String result) {
                    this.result = result;
                }

                public String getBetcode() {
                    return betcode;
                }

                public void setBetcode(String betcode) {
                    this.betcode = betcode;
                }

                public Object getScore() {
                    return score;
                }

                public void setScore(Object score) {
                    this.score = score;
                }

                public String getLotteryTypeName() {
                    return lotteryTypeName;
                }

                public void setLotteryTypeName(String lotteryTypeName) {
                    this.lotteryTypeName = lotteryTypeName;
                }
            }
        }
    }

    public static class OptimizeDetailBean {
        /**
         * racedetails : [{"awayTeam":"布莱克本","betcode":"负","homeTeam":"克鲁"},{"awayTeam":"阿维斯","betcode":"负","homeTeam":"马德拉"}]
         * betNum : 3
         */

        private int betNum;
        private List<RacedetailsBean> racedetails;

        public int getBetNum() {
            return betNum;
        }

        public void setBetNum(int betNum) {
            this.betNum = betNum;
        }

        public List<RacedetailsBean> getRacedetails() {
            return racedetails;
        }

        public void setRacedetails(List<RacedetailsBean> racedetails) {
            this.racedetails = racedetails;
        }

        public static class RacedetailsBean {
            /**
             * awayTeam : 布莱克本
             * betcode : 负
             * homeTeam : 克鲁
             */

            private String awayTeam;
            private String betcode;
            private String homeTeam;

            public String getAwayTeam() {
                return awayTeam;
            }

            public void setAwayTeam(String awayTeam) {
                this.awayTeam = awayTeam;
            }

            public String getBetcode() {
                return betcode;
            }

            public void setBetcode(String betcode) {
                this.betcode = betcode;
            }

            public String getHomeTeam() {
                return homeTeam;
            }

            public void setHomeTeam(String homeTeam) {
                this.homeTeam = homeTeam;
            }
        }
    }
}
